﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E27 RID: 3623
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RestoreWolfBroGameArchiveCsReq : IMessage<RestoreWolfBroGameArchiveCsReq>, IMessage, IEquatable<RestoreWolfBroGameArchiveCsReq>, IDeepCloneable<RestoreWolfBroGameArchiveCsReq>, IBufferMessage
	{
		// Token: 0x17002E0B RID: 11787
		// (get) Token: 0x0600A2B3 RID: 41651 RVA: 0x001B33A4 File Offset: 0x001B15A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RestoreWolfBroGameArchiveCsReq> Parser
		{
			get
			{
				return RestoreWolfBroGameArchiveCsReq._parser;
			}
		}

		// Token: 0x17002E0C RID: 11788
		// (get) Token: 0x0600A2B4 RID: 41652 RVA: 0x001B33AB File Offset: 0x001B15AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RestoreWolfBroGameArchiveCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002E0D RID: 11789
		// (get) Token: 0x0600A2B5 RID: 41653 RVA: 0x001B33BD File Offset: 0x001B15BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RestoreWolfBroGameArchiveCsReq.Descriptor;
			}
		}

		// Token: 0x0600A2B6 RID: 41654 RVA: 0x001B33C4 File Offset: 0x001B15C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RestoreWolfBroGameArchiveCsReq()
		{
		}

		// Token: 0x0600A2B7 RID: 41655 RVA: 0x001B33CC File Offset: 0x001B15CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RestoreWolfBroGameArchiveCsReq(RestoreWolfBroGameArchiveCsReq other) : this()
		{
			this.id_ = other.id_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A2B8 RID: 41656 RVA: 0x001B33F1 File Offset: 0x001B15F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RestoreWolfBroGameArchiveCsReq Clone()
		{
			return new RestoreWolfBroGameArchiveCsReq(this);
		}

		// Token: 0x17002E0E RID: 11790
		// (get) Token: 0x0600A2B9 RID: 41657 RVA: 0x001B33F9 File Offset: 0x001B15F9
		// (set) Token: 0x0600A2BA RID: 41658 RVA: 0x001B3401 File Offset: 0x001B1601
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x0600A2BB RID: 41659 RVA: 0x001B340A File Offset: 0x001B160A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RestoreWolfBroGameArchiveCsReq);
		}

		// Token: 0x0600A2BC RID: 41660 RVA: 0x001B3418 File Offset: 0x001B1618
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RestoreWolfBroGameArchiveCsReq other)
		{
			return other != null && (other == this || (this.Id == other.Id && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A2BD RID: 41661 RVA: 0x001B3448 File Offset: 0x001B1648
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A2BE RID: 41662 RVA: 0x001B3487 File Offset: 0x001B1687
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A2BF RID: 41663 RVA: 0x001B348F File Offset: 0x001B168F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A2C0 RID: 41664 RVA: 0x001B3498 File Offset: 0x001B1698
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Id != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A2C1 RID: 41665 RVA: 0x001B34CC File Offset: 0x001B16CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A2C2 RID: 41666 RVA: 0x001B350A File Offset: 0x001B170A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RestoreWolfBroGameArchiveCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A2C3 RID: 41667 RVA: 0x001B353B File Offset: 0x001B173B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A2C4 RID: 41668 RVA: 0x001B3544 File Offset: 0x001B1744
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Id = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003ED1 RID: 16081
		private static readonly MessageParser<RestoreWolfBroGameArchiveCsReq> _parser = new MessageParser<RestoreWolfBroGameArchiveCsReq>(() => new RestoreWolfBroGameArchiveCsReq());

		// Token: 0x04003ED2 RID: 16082
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003ED3 RID: 16083
		public const int IdFieldNumber = 10;

		// Token: 0x04003ED4 RID: 16084
		private uint id_;
	}
}
